<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <base href="http://localhost:8080/LoginTest/">
</head>
<body>
<h1>欢迎登录XXX网</h1>
<form method="post" action="loginServlet">
    账号：<input type="text" name="username"><br>
    密码：<input type="password" name="password">
    登录<input type="submit">
</form>
</body>
</html>